package com.demo.redission.controller;


import com.demo.redission.service.goods.IGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/lock")
public class LockController {

    @Resource
    private IGoodsService goodsService;

    @RequestMapping("/lockTest")
    public void lockSave(){
        goodsService.LockTest(123);
    }

}
